package com.example.spark.entity.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class PaginationDTO<T> {
    // 当前页码
    private Integer currentPage;
    // 页面展示条数
    private Integer pageSize;
    // 实体类
    private T entity;

}
